//
//  UIImageView+Music.m
//  04-qq音乐播放界面
//
//  Created by dllo on 16/7/19.
//  Copyright © 2016年 YMJ. All rights reserved.
//

#import "UIImageView+Music.h"

@implementation UIImageView (Music)
+ (UIImageView *)backButtonCreated {
    UIImageView *button = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"actionbutton"]];
    button.backgroundColor = [UIColor clearColor];
//    button.frame = CGRectMake(0, 0, 45, 30);
    button.center = CGPointMake(10 + 45/2, 30/2 + 20);
    return button;
}
+ (UIImageView *)moreButtonCreated {
    UIImageView *button = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"icon_more_music"]];
//    button.frame = CGRectMake(0, 0, 45, 30);
    button.center = CGPointMake(WIDTH - (10 + 45/2), 30/2 + 20);
    button.backgroundColor = [UIColor clearColor];
    return button;
}
+ (UIImageView *)dujiaImageViewCreated {
    UIImageView *imageView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"player_btn_copyright_normal"]];
    imageView.center = CGPointMake(WIDTH / 2, 30 / 2 + 20 + 30 + 30 + 10);
    return imageView;
}
+ (UIImageView *)standardImageViewCreated {
    UIImageView *imageView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"player_btn_bz_sel_normal"]];
    imageView.center = CGPointMake(WIDTH / 2 - 70, 30 / 2 + 20 + 30 + 30 + 10);
    return imageView;
}
+ (UIImageView *)dtsImageViewCreated {
    UIImageView *imageView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"player_btn_dts_off"]];
    imageView.center = CGPointMake(WIDTH / 2 + 70, 30 / 2 + 20 + 30 + 30 + 10);
    return imageView;

}
+ (UIImageView *)playImageViewCreated {
    UIImageView *imageView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"player_btn_play_normal"]];
    imageView.center = CGPointMake(WIDTH / 2, HEIGHT / 2 - 100 + WIDTH / 3 + 40 + 30 + 20 + 30 + 10 + 60);
    return imageView;
}
+ (UIImageView *)preSongImageViewCreated {
    UIImageView *imageView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"player_btn_pre_normal"]];
    imageView.center = CGPointMake(WIDTH / 2 - 80, HEIGHT / 2 - 100 + WIDTH / 3 + 40 + 30 + 20 + 30 + 10 + 60);
    return imageView;
}
+ (UIImageView *)qplayImageViewCreated {
    UIImageView *imageView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"player_btn_qplay_normal"]];
    imageView.center = CGPointMake(WIDTH / 2 - 80 - 80, HEIGHT / 2 - 100 + WIDTH / 3 + 40 + 30 + 20 + 30 + 10 + 60);
    return imageView;
}
+ (UIImageView *)nextSongImageViewCreated {
    UIImageView *imageView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"player_btn_next_normal"]];
    imageView.center = CGPointMake(WIDTH / 2 + 80, HEIGHT / 2 - 100 + WIDTH / 3 + 40 + 30 + 20 + 30 + 10 + 60);
    return imageView;
}
+ (UIImageView *)downloadImageViewCreated {
    UIImageView *imageView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"player_btn_download_normal"]];
    imageView.center = CGPointMake(WIDTH / 2, HEIGHT / 2 - 100 + WIDTH / 3 + 40 + 30 + 20 + 30 + 10 + 60 + 70);
    return imageView;
}
+ (UIImageView *)repeatImageViewCreated {
    UIImageView *imageView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"player_btn_repeat_normal"]];
    imageView.center = CGPointMake(WIDTH / 2 - 60, HEIGHT / 2 - 100 + WIDTH / 3 + 40 + 30 + 20 + 30 + 10 + 60 + 70);
    return imageView;
}
+ (UIImageView *)favoriteImageViewCreated {
    UIImageView *imageView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"player_btn_favorite_normal"]];
    imageView.center = CGPointMake(WIDTH / 2 - 60 - 60, HEIGHT / 2 - 100 + WIDTH / 3 + 40 + 30 + 20 + 30 + 10 + 60 + 70);
    return imageView;
}
+ (UIImageView *)shareImageViewCreated {
    UIImageView *imageView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"player_btn_share_normal"]];
    imageView.center = CGPointMake(WIDTH / 2 + 60, HEIGHT / 2 - 100 + WIDTH / 3 + 40 + 30 + 20 + 30 + 10 + 60 + 70);
    return imageView;
}
+ (UIImageView *)playlistImageViewCreated {
    UIImageView *imageView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"player_btn_playlist_normal"]];
    imageView.center = CGPointMake(WIDTH / 2 + 60 + 60, HEIGHT / 2 - 100 + WIDTH / 3 + 40 + 30 + 20 + 30 + 10 + 60 + 70);
    return imageView;
}
@end
